package org.tuoren.official.domain.bo;

import org.tuoren.common.core.validate.AddGroup;
import org.tuoren.common.core.validate.EditGroup;
import org.tuoren.official.domain.InnovationRdCenter;
import org.tuoren.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 创新研发中心信息
业务对象 t_innovation_rd_center
 *
 * @author wl
 * @date 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = InnovationRdCenter.class, reverseConvertGenerate = false)
public class InnovationRdCenterBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * banner图片
     */
    @NotBlank(message = "banner图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bannerUrl;

    /**
     * 简述
     */
    @NotBlank(message = "简述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String textDesc;
     /**
     * 移动端简介
     */
    private String minDesc;

    /**
     * 研发设备图片
     */
    @NotBlank(message = "研发设备图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String photoUrl;
    /**
     * 显示顺序
     */
    private Integer orderNum;

}
